package com.elysia.newsservice.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 更新日志类型枚举
 */
@Getter
public enum VersionUpdateCategoryEnum {
    LATEST(1, "常规更新"),
    MAJOR(2, "重大版本更新"),
    BALANCE(3, "职业平衡调整");  
    @EnumValue
    private final Integer code;
    private final String desc;
    VersionUpdateCategoryEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
